package com.ruoyi.common.core.domain.depot;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.TreeEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 仓库列表对象 tb_pre_warehouse
 * 
 * @author ruoyi
 * @date 2023-11-01
 */
public class PreWarehouse extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库id */
    private Long warehouseId;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String warehouseNumber;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 仓库负责人 */
    @Excel(name = "仓库负责人")
    private String warehouseHead;

    /** 仓库地址 */
    @Excel(name = "仓库地址")
    private String warehouseAddress;

    /** 仓库联系电话 */
    @Excel(name = "仓库联系电话")
    private String warehousePhone;

    /** 仓库状态 */
    @Excel(name = "仓库状态")
    private String warehouseStatus;

    /** 仓库排序 */
    private Long warehouseSort;

    /** 备注 */
    @Excel(name = "备注")
    private String warehouseRemark;

    /** 删除状态 0存在1删除 */
    private String deleteStatus;

    /** 添加时间 */
    private Date addTime;

    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setWarehouseNumber(String warehouseNumber) 
    {
        this.warehouseNumber = warehouseNumber;
    }

    public String getWarehouseNumber() 
    {
        return warehouseNumber;
    }
    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }
    public void setWarehouseHead(String warehouseHead) 
    {
        this.warehouseHead = warehouseHead;
    }

    public String getWarehouseHead() 
    {
        return warehouseHead;
    }
    public void setWarehouseAddress(String warehouseAddress) 
    {
        this.warehouseAddress = warehouseAddress;
    }

    public String getWarehousePhone() {
        return warehousePhone;
    }

    public void setWarehousePhone(String warehousePhone) {
        this.warehousePhone = warehousePhone;
    }

    public String getWarehouseAddress()
    {
        return warehouseAddress;
    }
    public void setWarehouseStatus(String warehouseStatus) 
    {
        this.warehouseStatus = warehouseStatus;
    }

    public String getWarehouseStatus() 
    {
        return warehouseStatus;
    }
    public void setWarehouseSort(Long warehouseSort) 
    {
        this.warehouseSort = warehouseSort;
    }

    public Long getWarehouseSort() 
    {
        return warehouseSort;
    }
    public void setWarehouseRemark(String warehouseRemark) 
    {
        this.warehouseRemark = warehouseRemark;
    }

    public String getWarehouseRemark() 
    {
        return warehouseRemark;
    }
    public void setDeleteStatus(String deleteStatus) 
    {
        this.deleteStatus = deleteStatus;
    }

    public String getDeleteStatus() 
    {
        return deleteStatus;
    }
    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("warehouseId", getWarehouseId())
            .append("warehouseNumber", getWarehouseNumber())
            .append("warehouseName", getWarehouseName())
            .append("warehouseHead", getWarehouseHead())
            .append("warehouseAddress", getWarehouseAddress())
            .append("warehouseStatus", getWarehouseStatus())
            .append("warehouseSort", getWarehouseSort())
            .append("warehouseRemark", getWarehouseRemark())
            .append("deleteStatus", getDeleteStatus())
            .append("addTime", getAddTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
